/*****************************************************************************
*
*  PROJECT:     SlipStream
*               (Texture Classes)
*  LICENSE:     GNU General Public License v3 - http://www.gnu.org/licenses/gpl.html

*  DEVELOPERS:  Philip Farquharson 	<B00137077@studentmail.uws.ac.uk>
*				John Gray 			<B00145524@studentmail.uws.ac.uk>		
*				Zohaib Bhatti		<B00104280@studentmail.uws.ac.uk>
*				Euan Hislop 		<B00138636@studentmail.uws.ac.uk>
*
*****************************************************************************/
#ifndef CTEXTUREMANAGER_H
#define CTEXTUREMANAGER_H


#include <stdio.h>
#include <stdlib.h>
#include <fstream>
#include <time.h>
#include <vector>
#include <cassert>
#include "CTexture.h"
#include "CSingleton.h"
#include "lib.h"
using namespace std;

class CTextureManager : public CSingleton < CTextureManager >
{
	private:
		std::vector<CTexture*> m_textures;

	public:
		CTextureManager ( void );
		~CTextureManager ( void );

		CTexture* FindTexture ( const char *filename );
		CTexture* LoadTexture ( const char *filename );
		
		CTexture* GetTexture ( int ID );
};
#endif